package com.example.springboot.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.model.entity.Material;
import com.example.springboot.model.form.Result;
import com.example.springboot.model.req.admin.EnshrineReq;
import com.example.springboot.model.req.admin.LikeReq;
import com.example.springboot.model.req.admin.MaterialReq;

/**
 * @author zf
 * @素材表
 * @since 2021-03-17
 */
public interface MaterialService extends IService<Material> {

    Result getPage(MaterialReq req);

    Result addInfo(MaterialReq req);

    Result getInfo(Integer id);

    Result deleteInfos(String ids);

    Result enshrineSave(EnshrineReq req);

    Result enshrineCancel(EnshrineReq req);

    Result likeSave(LikeReq req);

    Result likeCancel(LikeReq req);
}
